.class Limoblife/yogamoment/lite/SetActivity$3;
.super Ljava/lang/Object;
.source "SetActivity.java"

# interfaces
.implements Landroid/preference/Preference$OnPreferenceClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Limoblife/yogamoment/lite/SetActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Limoblife/yogamoment/lite/SetActivity;


# direct methods
.method constructor <init>(Limoblife/yogamoment/lite/SetActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Limoblife/yogamoment/lite/SetActivity$3;->this$0:Limoblife/yogamoment/lite/SetActivity;

    .line 102
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method static synthetic access$0(Limoblife/yogamoment/lite/SetActivity$3;)Limoblife/yogamoment/lite/SetActivity;
    .locals 1
    .parameter

    .prologue
    .line 102
    iget-object v0, p0, Limoblife/yogamoment/lite/SetActivity$3;->this$0:Limoblife/yogamoment/lite/SetActivity;

    return-object v0
.end method


# virtual methods
.method public onPreferenceClick(Landroid/preference/Preference;)Z
    .locals 4
    .parameter "preference"

    .prologue
    .line 106
    new-instance v0, Landroid/app/AlertDialog$Builder;

    iget-object v1, p0, Limoblife/yogamoment/lite/SetActivity$3;->this$0:Limoblife/yogamoment/lite/SetActivity;

    invoke-direct {v0, v1}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    .line 107
    iget-object v1, p0, Limoblife/yogamoment/lite/SetActivity$3;->this$0:Limoblife/yogamoment/lite/SetActivity;

    const v2, 0x7f050025

    invoke-virtual {v1, v2}, Limoblife/yogamoment/lite/SetActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    .line 106
    invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    .line 108
    iget-object v1, p0, Limoblife/yogamoment/lite/SetActivity$3;->this$0:Limoblife/yogamoment/lite/SetActivity;

    invoke-virtual {v1}, Limoblife/yogamoment/lite/SetActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f070004

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getStringArray(I)[Ljava/lang/String;

    move-result-object v1

    .line 109
    sget v2, Limoblife/yogamoment/lite/SetActivity;->timeIndex:I

    .line 110
    new-instance v3, Limoblife/yogamoment/lite/SetActivity$3$1;

    invoke-direct {v3, p0}, Limoblife/yogamoment/lite/SetActivity$3$1;-><init>(Limoblife/yogamoment/lite/SetActivity$3;)V

    .line 107
    invoke-virtual {v0, v1, v2, v3}, Landroid/app/AlertDialog$Builder;->setSingleChoiceItems([Ljava/lang/CharSequence;ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    .line 119
    iget-object v1, p0, Limoblife/yogamoment/lite/SetActivity$3;->this$0:Limoblife/yogamoment/lite/SetActivity;

    const v2, 0x7f050017

    invoke-virtual {v1, v2}, Limoblife/yogamoment/lite/SetActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    .line 120
    const/4 v2, 0x0

    .line 119
    invoke-virtual {v0, v1, v2}, Landroid/app/AlertDialog$Builder;->setNegativeButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    .line 122
    invoke-virtual {v0}, Landroid/app/AlertDialog$Builder;->show()Landroid/app/AlertDialog;

    .line 124
    const/4 v0, 0x0

    return v0
.end method
